#include <iostream>
#include "pen.h"

int main(int argv, char**argc)
{
    printf("************  test hello zc!!!   **************\n");
    /* add test code! */
    Color *color;
	Pen *pen;
	
	//这里假装用反射获取 
	color = (Color*) new Red();
	pen = (Pen*) new SmallPen();
	
	pen->setColor(color);
	pen->draw("鲜花");
    return 0;
}